@import "theme";

.sign-box{
  width: 100%;
  letter-spacing: 2px;
  font-family: "Microsoft YaHei";
  display: table-cell;
  vertical-align: middle;
}
.sign-title{
  color: @white;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 4px;
  padding: 0 5px;
}
.sign-body{
  padding-bottom: 30px;
  position: relative;
  .fide-out{
    opacity: 0;
    z-index: -1;
  }
  a{
    color: @white;
    &:hover{
      color: @orange;
    }
  }
  .layui-form-item{
    position: relative;
    margin-bottom: 0;
  }
  .layui-input-inline{
    width: auto;
    position: relative;
    margin-right: 0;
  }
  .layui-input{
    width: 340px;
    height: 50px;
    border: 1px solid @white;
    background-color: rgba(255, 255, 255, .4);
    border-radius: 30px;
    font-size: 14px;
    padding-left: 15px;
    letter-spacing: 2px;
    &::-webkit-input-placeholder{
      color: @white;
    }
    &:focus{
      border-color: @white!important;
      border-width: 2px;
    }
  }
  .layui-input2{
    width: 360px;
    height: 46px;
    line-height: 46px;
    border: 0;
    border-bottom: 1px solid @grayEB;
    font-size: 16px;
    padding-left: 30px;
    box-sizing: border-box;
    &::-webkit-input-placeholder{
      color: @grayCC;
    }
  }
  .layui-btn{
    width: 160px;
    height: 50px;
    letter-spacing: 4px;
    font-size: 16px;
    font-weight: bold;
    &.js-sign-in{

    }
    &.disabled{
      opacity: .6;
      cursor: not-allowed;
    }
  }
  .btn-reg{
    &.layui-btn-disabled{
      background: @orange;
      border-color: @orange;
      color: @white;
      opacity: 0.6!important;
    }
  }
  .get-code{
    width: 120px;
    opacity: 1;
    padding: 0;
    margin-left: 10px;
    letter-spacing: 1px;
    font-weight: normal;
    &.layui-btn-disabled{
      opacity: 0.5!important;
      border: 1px solid @orange!important;
      background-color: @orange!important;
      color: @white!important;
    }
  }
  .get-pic{
    width: 120px;
    height: 50px;
    border-radius: 30px;
    display: inline-block;
    background-color: rgba(255, 255, 255, .4);
    overflow: hidden;
    margin-left: 10px;
    img{
      width: 100%;
      height: 100%;
    }
  }
  .layui-tips{
    height: 22px;
    line-height: 22px;
    color: @orange;
    font-size: 12px;
    padding-left: 30px;
  }
  .auto-item{
    line-height: 18px;
    color: @white;
  }
  .select-role{
    position: absolute;
    right: 0;
    top: -44px;
    color: @white;
    .layui-unselect{
      display: inline-block;
      margin-right: 0;
      padding-right: 0;
      margin-left: 10px;
      i{
        width: 12px;
        height: 12px;
        border-radius: 50%;
        font-size: 0;
        background-color: #f7f7f7;
        text-align: center;
        position: relative;
      }
      &.layui-form-radioed{
        i{
          &:after{
            width: 6px;
            height: 6px;
            display: inline-block;
            content: "";
            background-color: #474747;
            border-radius: 50%;
            position: absolute;
            left: 3px;
            top: 3px;
          }
        }
      }
    }
  }
  .layui-unselect{
    display: none;
  }
  .auto-sign{
    float: left;
    cursor: pointer;
    &:before{
      width: 14px;
      height: 14px;
      content: "";
      display: inline-block;
      border-radius: 3px;
      box-sizing: border-box;
      vertical-align: -2px;
      margin-right: 8px;
      margin-left: 3px;
      background-color: @white;
    }
  }
  .auto-cbx:checked ~ .auto-sign{
    &:after{
      width: 10px;
      height: 10px;
      display: inline-block;
      content: "";
      position: absolute;
      border-radius: 2px;
      left: 5px;
      top: 4px;
      background-color: @orange;
    }
  }
  .btn-forget-pass{
    float: right;
    font-weight: bold;
    color: @white;
    margin-top: -12px;
    transition: all .3s ease-in-out;
    &:hover{
      color: @orange;
    }
  }
  .cancel_list{
    li{
      margin-bottom: 15px;
    }
  }
  //.layui-form-radio{
  //  margin: 0;
  //  line-height: 18px;
  //  &.layui-form-radioed{
  //    .layui-icon{
  //      background-color: @blue;
  //      border-color: @blue;
  //    }
  //  }
  //  .layui-icon{
  //    width: 16px;
  //    height: 16px;
  //    border: 1px solid #ebebeb;
  //    background-color: #f7f7f7;
  //    border-radius: 50%;
  //    font-size: 0;
  //    box-sizing: border-box;
  //  }
  //}
  .s-create-link{
    color: @white;
    padding-left: 5px;
    padding-top: 15px;
    font-weight: bold;
    transition: all .3s ease-in-out;
  }
  .create-link-bar{
    float: right;
    position: relative;
    margin-top: 15px;
    &:hover{
      i{
        &:after{
          background-color: @orange;
          transform:translateX(0);
        }
      }
    }
    i{
      width: 140px;
      height: 1px;
      position: absolute;
      display: block;
      right: 0;
      top: 0;
      overflow: hidden;
      &:after{
        width: 100%;
        height: 1px;
        content: "";
        background-color: @white;
        position: absolute;
        transform:translateX(10px);
        transition: all .3s ease-in-out;
      }
    }
  }
  .js-create-account{
    color: @white;
    padding: 5px 0;
    display: inline-block;
    transition: all .3s ease-in-out;
    &:hover{
      color: @orange;
    }
  }
  .link-sign-bar{
    position: absolute;
    right: 0;
    bottom: 0;
    &:hover{
      i{
        &:after{
          background-color: @orange;
          transform:translateX(0)
        }
      }
    }
    i{
      width: 140px;
      height: 1px;
      position: absolute;
      display: block;
      right: 0;
      top: -6px;
      overflow: hidden;
      &:after{
        width: 100%;
        height: 1px;
        content: "";
        background-color: @white;
        position: absolute;
        transform:translateX(10px);
        transition: all .3s ease-in-out;
      }
    }
  }
  .js-link-sign{
    transition: all .3s ease-in-out;
    &:hover{
      color: @orange;
      &:after{
        background: url("../images/sign_icon_2.png") no-repeat;
      }
    }
    &:after{
      width: 10px;
      height: 12px;
      content: "";
      display: inline-block;
      vertical-align: middle;
      background: url("../images/sign_icon_1.png") no-repeat;
      margin-left: 4px;
      transition: all .3s ease-in-out;
    }
  }
}

@keyframes yx_ani {
  0% {
    transform:translateX(10px)
  }
  49.9% {
    transform:translateX(0)
  }
  50%{
    transform:translateX(0)
  }
  100% {
    transform:translateX(10px)
  }
}